Remove unnecessary assert.
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Mon, 21 Nov 2005 17:45:09 +0000 (18:45 +0100)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Mon, 21 Nov 2005 17:45:09 +0000 (18:45 +0100)
Signed-off-by: Steven Hand <steven@xensource.com>
xen/include/asm-x86/shadow.h

index 0aff95323080838063ce4344ba5e5ffd26136c0f..2845ceb0b7a80ea033bafb687a48aeeb31e22341 100644 (file)
@@ -289,7 +289,6 @@ static inline void shadow_mode_disable(struct domain *d)
 
 #define __gpfn_to_mfn(_d, gpfn)                        \
     ({                                                 \
-        ASSERT(current->domain == (_d));               \
         (shadow_mode_translate(_d))                    \
         ? get_mfn_from_pfn(gpfn)                \
         : (gpfn);                                      \